<meta charset="UTF-8">
<script>
    //当网页加载完成后
    window.onload = function(){
        var mydiv = document.getElementById("d1");
        mydiv.innerHTML = "123";
    };
</script>
<div id="d1"></div>


